var q6 ="#fUI/RunnerGame.img/RunnerGameUI/UI/Point/1#"
var q1 ="#fUI/SoulUI.img/DungeonMap/icon/dungeonItem/0#"
var zh5 ="#fUI/Gateway.img/WorldSelect/BtDot/normal/0#"  


var status = 0;

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
        	var text="#e#r "+"      " +q6+"   请认真选择以下套装   "+q6+" #n\r\n";
			text+="#b#L23#"+zh5+"#r超高属性暴君阿尔泰#d[防具-4件套]#l\r\n";
			text+="#b#L24#"+zh5+"#r超高属性暴君赫尔梅斯#d[防具-4件套]#l\r\n";
			text+="#b#L25#"+zh5+"#r超高属性暴君凯伦#d[防具-4件套]#l#l\r\n";
			text+="#b#L26#"+zh5+"#r超高属性暴君利卡昂#d[防具-4件套]#l\r\n";
			text+="#b#L27#"+zh5+"#r超高属性暴君西亚戴斯#d[防具-4件套]#l\r\n";

			cm.sendSimple(text);
		} else if (status == 1){
			switch (selection) {
				case 23:
				cm.dispose();
				cm.openNpc(0, "超高属性暴君阿尔泰");
				break;
				case 24:
				cm.dispose();
				cm.openNpc(0, "超高属性暴君赫尔梅斯");
				break;
				case 25:
				cm.dispose();
				cm.openNpc(0, "超高属性暴君凯伦");
				break;	
				case 26:
				cm.dispose();
				cm.openNpc(0, "超高属性暴君利卡昂");
				break;
				case 27:
				cm.dispose();
				cm.openNpc(0, "超高属性暴君西亚戴斯");
				break;
				default:
				cm.sendOk("管理员正在准备中.请期待");
				cm.dispose();
			}
		}
	}
}